package com.hzw.saas.service.group.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 群组成员审核表
 * </p>
 *
 * @author sonam
 * @since 2021/1/8 0:35
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_group_member_review")
public class GroupMemberReview implements Serializable {
    private static final long serialVersionUID = 2991995533706622215L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 群组id
     */
    private String groupId;

    /**
     * 创建时间
     */
    private Date date;

    /**
     * 过期时间
     */
    private Date expireDate;

    /**
     *  类型,1:groupId主动邀请userId|0:userId主动邀请GroupId
     */
    private Integer type;

}
